﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Data.Common;


namespace ASG.CodeGenerator.SQL
{
    public abstract class ParameterCode<ParameterType> : ASG.CodeGenerator.Core.Code
        where ParameterType : DbParameter
    {
        private string _Name;
        private string _Size;
        private ColumnTypeCode<ParameterType> _ColumnType;

        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }

        public string Size
        {
            get { return _Size; }
            set { _Size = value; }
        }

        public ColumnTypeCode<ParameterType> ColumnType
        {
            get { return _ColumnType; }
            set { _ColumnType = value; }
        }
    }
}
